package com.t.codebook.model.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

 /**
 * 代码库;
 * @author : http://www.chiner.pro
 * @date : 2024-8-25
 */
@Data
@ApiModel(value = "代码库",description = "")
@TableName("code_bank")
public class CodeBank implements Serializable,Cloneable{
    /** id */
    @ApiModelProperty(name = "id",notes = "")
    @TableId
    private Long id ;
    /** 标题 */
    @ApiModelProperty(name = "标题",notes = "")
    @TableField(value = "title")
    private String title ;
    /** 描述 */
    @ApiModelProperty(name = "描述",notes = "")
    @TableField(value = "description")
    private String description ;
    /** 图片 */
    @ApiModelProperty(name = "图片",notes = "")
    @TableField(value = "picture")
    private String picture ;
    /** 优先级 */
    @ApiModelProperty(name = "优先级",notes = "")
    @TableField(value = "priority")
    private Integer priority ;
    /** 创建用户;id */
    @ApiModelProperty(name = "创建用户",notes = "id")
    @TableField(value = "userid")
    private Long userId ;
    /** 编辑时间 */
    @ApiModelProperty(name = "编辑时间",notes = "")
    private Date editTime ;
    /** 创建时间 */
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;
    /** 更新时间 */
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;
    /** 是否删除 */
    @ApiModelProperty(name = "是否删除",notes = "")
    private String isDelete ;


}